export default function(router) {

  var req = require

  router.map({
    '/': {
      component: req('./modules/componentsList.vue')
    },
    '/news': {
      // component: req('news.vue')
      component(resolve) {
        req(['news.vue'], resolve)
      }
    },
    '/item': {
      component: req('itemListBig.vue')
    },
    '/login': {
      component: req('login.vue')
    },
    '/components': {
      component: req('./modules/layoutView.vue')
    }
  })

}
